
<html>
<?php include("head.php"); ?>


<?php
$folderName = $_POST['folderName'];
$fileName = $_POST['fileName'];
if($fileName != ""){
	$contentPath = "./".$folderName."/".$fileName;
}else{
	$contentPath = "defaultContent.php";
}
?>

<body>


<?php include("headr.php"); ?>

<?php include("leftmenu.php"); ?>




<div id="content">
<?php include($contentPath); ?>
</div>


<?php include("footer.php"); ?>
</body>




<script>  
$("#content").html(replaceEnter2BR($('#content').html()));
</script>

</html>


